Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Turn off debug build for TSAN, fixes #48031 #48210

Merged
merged 1 commit into from
Jan 22, 2023

Conversation

MilesCranmer
Copy link
Sponsor Member

I can now build TSAN-enabled Julia on 1.9.0-beta2. Before, with debug build mode on, I hit some assertions. Fixes #48031.

cc @vtjnash @gbaraldi.

@vchuravy
Copy link
Member

I don't think this will be a solution. Debug build gives you much better information and backtraces.

@MilesCranmer
Copy link
Sponsor Member Author

This is just a band-aid fix, as the current TSAN-enabled Julia doesn't build at all. Of course the best solution would be to fix the assertions. Until that is done, this will prevent people running into the same problem as me.

@MilesCranmer
Copy link
Sponsor Member Author

Are you able to build with TSAN?

@vtjnash vtjnash merged commit 1ecf73e into JuliaLang:master Jan 22, 2023
@vtjnash
Copy link
Sponsor Member

vtjnash commented Jan 22, 2023

rr gives better information, if you require it. I think it is best to keep tools fairly orthogonal, since otherwise the combination of all the debug options can end up slowing things down too much.

Zentrik added a commit to Zentrik/julia-buildkite that referenced this pull request Apr 5, 2024
I removed building julia in debug mode as JuliaLang/julia#48210 switched TSAN to defaulting to building in release mode as debug didn't work.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Segfault on building TSAN-enabled Julia
3 participants